<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title><?php echo C('SITE_INFO.name');?></title>
<script type="text/javascript" src="__PUBLIC__/scripts/jquery-1.7.2.min.js"></script>

<link href="./css/index.css" rel="stylesheet" type="text/css" />
</head>
<body>
<link href="__PUBLIC__/Catalog/css/index.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="main">
   <div class="title">上品生活</div>
   <div class="banner"><img src="__PUBLIC__/Catalog/images/banner.png" /></div>
   <div class="categrouy">
       <div class="uls">
           <ul>
              <?php if(is_array($category)): foreach($category as $key=>$vo): ?><li>
                 <dl>
                    <dd class="d1"><a href="<?php echo U('Products/index');?>?cid=<?php echo ($vo["categories_id"]); ?>"><img src="__PUBLIC__/images/categories/<?php echo ($vo["categories_image"]); ?>" /></a></dd>
                    <dd class="d2"><a href="<?php echo U('Products/index');?>?cid=<?php echo ($vo["categories_id"]); ?>"><?php echo ($vo["categories_name"]); ?></a></dd>
                 </dl>
              </li><?php endforeach; endif; ?>
           </ul>
       </div>
       
   </div>
</div>
<div class="foot">
    <div class="foot2">
            <ul>
              <li>
                  <dl>
                      <dd class="dds"><a href="#"><img src="__PUBLIC__/Catalog/images/house.png" /></a></dd>
                      <dd><a href="<?php echo U('Index/index');?>">首页</a></dd>
                  </dl>
              </li>
              <li>
                  <dl>
                      <dd class="dds"><a href="#"><img src="__PUBLIC__/Catalog/images/cate1.png" /></a></dd>
                      <dd><a href="<?php echo U('Products/cateindex');?>">分类</a></dd>
                  </dl>
              </li>
              <li>
                  <dl>
                      <dd><a href="#"><img src="__PUBLIC__/Catalog/images/jia.png"style=" width:50px; height:50px;" /></a></dd>
                  </dl>
              </li>
              <li>
                  <dl>
                      <dd class="dds"><a href="#"><img src="__PUBLIC__/Catalog/images/message.png" /></a></dd>
                      <dd><a href="#">信息</a></dd>
                  </dl>
              </li>
              <li>
                  <dl>
                      <dd class="dds"><a href="reg.html"><img src="__PUBLIC__/Catalog/images/men.png" /></a></dd>
                      <dd><a href="<?php echo U('Membership/index');?>?uid=<?php echo ($uid); ?>">我的</a></dd>
                  </dl>
              </li>
            </ul>       
    </div>
</div>
</body>
</html>